package com.base.common.persistent.dao;

import com.base.common.persistent.model.HouseInfo;
import com.cjy.common.annotation.MyBatisRepository;
import org.apache.ibatis.annotations.Param;

@MyBatisRepository
public interface HouseInfoMapper {
	
	/**
	 * 添加房屋信息
	 * 
	 * @param houseInfo
	 * @return
	 */
	int addHouseInfo(HouseInfo houseInfo);
	
	/**
	 * 
	 * 
	 * @param code
	 * @return
	 */
	HouseInfo queryHouseInfoByCode(@Param(value = "code") String code);
}
